package com.inspur.dgov.policy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 政策解读信息表
 *
 * @author chiyupei
 * @version 1.0
 * @since 1.0
 */
@Data
@TableName("file_analysis")
@ApiModel(value="FileAnalysis对象", description="政策解读信息表")
public class FileAnalysis implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "政策ID")
    @TableField("POLICY_ID")
    private String policyId;

    @ApiModelProperty(value = "解读名称")
    @TableField("BASIC_TITLE")
    private String basicTitle;

    @ApiModelProperty(value = "解读日期")
    @TableField("BASIC_RELEASE_DATE")
    private String basicReleaseDate;

    @ApiModelProperty(value = "发文部门")
    @TableField("BASIC_DEPARTMENT_NAME")
    private String basicDepartmentName;

    @ApiModelProperty(value = "行政区划名称")
    @TableField("REGION_NAME")
    private String regionName;

    @ApiModelProperty(value = "行政区划编码")
    @TableField("REGION_CODE")
    private String regionCode;

    @ApiModelProperty(value = "解读文本")
    @TableField("BASIC_CONTENT_ID")
    private String basicContentId;

    @ApiModelProperty(value = "信息来源")
    @TableField("BASIC_SOURCE_URL")
    private String basicSourceUrl;

    @ApiModelProperty(value = "采集方式")
    @TableField("COLLECT_STYLE")
    private String collectStyle;

    @ApiModelProperty(value = "采集者ID")
    @TableField("COLLECTER_ID")
    private String collecterId;

    @ApiModelProperty(value = "采集者姓名")
    @TableField("COLLECTER_NAME")
    private String collecterName;

    @ApiModelProperty(value = "采集租户")
    @TableField("COLLECT_TENANT")
    private String collectTenant;

    @ApiModelProperty(value = "采集日期")
    @TableField("COLLECT_DATE")
    private String collectDate;

    @ApiModelProperty(value = "最后修改时间")
    @TableField("MODIFY_TIME")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "状态")
    @TableField("BASIC_STATE")
    private String basicState;

    @ApiModelProperty(value = "系统状态")
    @TableField("BASIC_STATUS")
    private String basicStatus;

    @ApiModelProperty(value = "冗余字段1")
    @TableField("REDUNDANT_FIELD_1")
    private String redundantField1;

    @ApiModelProperty(value = "冗余字段2")
    @TableField("REDUNDANT_FIELD_2")
    private String redundantField2;

    @ApiModelProperty(value = "冗余字段3")
    @TableField("REDUNDANT_FIELD_3")
    private String redundantField3;


}
